package com.tedu.springboot2302.entity;

import java.io.Serializable;

/**
 * @author Huangjin
 * @version 1.0
 * describe:
 * @date 2023/3/17 17:28
 */
public class Article implements Serializable {
    private String title;
    private String context;
    private String author;

    public Article() {
    }

    public Article(String title, String context, String author) {
        this.title = title;
        this.context = context;
        this.author = author;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    @Override
    public String toString() {
        return "Article{" +
                "title='" + title + '\'' +
                ", context='" + context + '\'' +
                ", author='" + author + '\'' +
                '}';
    }
}
